using FireStarterModeller.BO;

namespace FireStarterModeller.Test.BO
{
    public partial class TestUtilsDMListItem
    {
        /// <summary>
        /// Creates a new saved DMListItem with a random value assigned to every property
        /// </summary>
        public static DMListItem CreateSavedDMListItem()
        {
            DMListItem dMListItem = CreateUnsavedValidDMListItem();
            dMListItem.Save();
            return dMListItem;
        }

    
	    
        /// <summary>
        /// Creates a new unsaved DMListItem where all properties are null, except ID properties
        /// and those with default values.  If there are compulsory properties without
        /// defaults, saving the object will throw an exception.
        /// </summary>
        public static DMListItem CreateUnsavedDefaultDMListItem()
        {
            DMListItem dMListItem = new DMListItem();
            return dMListItem;
        }
    }


}